package com.wigem.approve.service;

import com.wigem.framework.common.pojo.PageResult;

import com.wigem.approve.entity.DaqPolicyEntity;
import com.wigem.approve.vo.DaqPolicyVo;

import java.util.List;


/**
 * 楼宇政策申报Service接口
 *
 * @author DH
 * @date 2024-05-27
 */
public interface DaqPolicyService {


    /**
     * 查询DaqPolicy列表
     */
    List<DaqPolicyEntity> getList(DaqPolicyVo daqPolicyVo);

    /**
     * 查询DaqPolicy分页列表
     */
    PageResult<DaqPolicyEntity> getPageList(DaqPolicyVo daqPolicyVo);


    /**
     * 查询DaqPolicy实体
     */
    DaqPolicyEntity getEntity(String id);

    /**
     * DaqPolicy新增
     */

    void add(DaqPolicyVo daqPolicyvo);

    /**
     * DaqPolicy修改
     */
    void update(DaqPolicyVo daqPolicyvo);

    Boolean validatePolicy(DaqPolicyVo daqPolicyvo);


    /**
     * DaqPolicy保存
     */
    String save(DaqPolicyVo daqPolicyvo);

    Boolean validateEstateAndEnterprise(String policyId);

    int submit(String policyId);


    /**
     * DaqPolicy删除
     */
    int delete(String id);


    /**
     * DaqPolicy移除
     */
    int remove(String id);


}
